package com.gdkj.entity.stardig;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description  
 * @Author  zhangwen
 * @Date 2022-09-21 
 */

@Data
@Table(name = "cmf_luck_product")
public class CmfLuckProduct implements Serializable {

	private static final long serialVersionUID =  7714792184273085969L;

	@ApiModelProperty(value = "商品id")
    @Id
	private Integer id;

	@ApiModelProperty(value = "商品名称")
	private String productName;

	@ApiModelProperty(value = "商品金额")
	private Integer productCoin;

	@ApiModelProperty(value = "权重")
	@Transient
	private Integer weight;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;

	@ApiModelProperty(value = "生效等级")
	@Transient
	private String msg;

	@ApiModelProperty(value = "用户账户状态")
	@Transient
	private String userMsg;

	/**
	 * 商品类型 1:红包券 2: 话费券 3:金币 4:金豆 5:钻石
	 */
	@ApiModelProperty(value = "商品类型")
	private Integer type;

	/**
	 * 商品数量
	 */
	@ApiModelProperty(value = "商品数量")
	private Integer productNum;

	/**
	 * 普通抽奖权重
	 */
	@ApiModelProperty(value = "普通抽奖权重")
	private Integer normalLuckWeight;

	/**
	 * 抽奖类型 1 血池 2普通
	 */
	@Transient
	private Integer luckDrawType;

	@ApiModelProperty(value = "游戏类型 1星球探索 2推币机")
	private Integer gameType;
}
